package com.sfh.sfhshopweb.service;

import com.sfh.sfhshopweb.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sfh.sfhshopweb.entity.Goods;

import java.util.List;

/**
 * <p>
 * 目录表 服务类
 * </p>
 *
 * @author kcyu
 * @since 2024-06-13
 */
public interface ICategoryService extends IService<Category> {

    List<Category> getTopCategory();
    List<Category> getCategoryTree();
    Category getOne(Integer id);
    List<Goods> getGoodsByCategoryId(Integer categoryId);
}
